package com.huawei.esdk.uc.device.appserver.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {})
@XmlRootElement(name = "DepartmentList")
public class DepartmentList
{
    @XmlAttribute(name = "type")
    private String type = "departmentList";
    
    @XmlElement(name = "bean")
    private List<Department> departments;
    
    public String getType()
    {
        return type;
    }
    
    public void setType(String type)
    {
        this.type = type;
    }
    
    public List<Department> getDepartments()
    {
        return departments;
    }
    
    public void setDepartments(List<Department> departments)
    {
        this.departments = departments;
    }
    
}
